package com.hngates.architecture.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hngates.common.annotation.Excel;
import com.hngates.common.core.domain.BaseEntity;

/**
 * 项目（工地）对象 arc_project
 * 
 * @author jwhe
 * @date 2022-07-04
 */
public class ArcProject extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录id */
    private Long id;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 项目编号 */
    @Excel(name = "项目编号")
    private String projectNo;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String projectName;

    /** 项目状态 */
    @Excel(name = "项目状态")
    private String projectStatus;

    /** 风险等级 */
    @Excel(name = "风险等级")
    private String riskLevlel;

    public Long getId() {
        return id;
    }

    public ArcProject setId(Long id) {
        this.id = id;
        return this;
    }

    public String getStatus() {
        return status;
    }

    public ArcProject setStatus(String status) {
        this.status = status;
        return this;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public ArcProject setDelFlag(String delFlag) {
        this.delFlag = delFlag;
        return this;
    }

    public String getProjectNo() {
        return projectNo;
    }

    public ArcProject setProjectNo(String projectNo) {
        this.projectNo = projectNo;
        return this;
    }

    public String getProjectName() {
        return projectName;
    }

    public ArcProject setProjectName(String projectName) {
        this.projectName = projectName;
        return this;
    }

    public String getProjectStatus() {
        return projectStatus;
    }

    public ArcProject setProjectStatus(String projectStatus) {
        this.projectStatus = projectStatus;
        return this;
    }

    public String getRiskLevlel() {
        return riskLevlel;
    }

    public ArcProject setRiskLevlel(String riskLevlel) {
        this.riskLevlel = riskLevlel;
        return this;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("projectNo", getProjectNo())
            .append("projectName", getProjectName())
            .append("projectStatus", getProjectStatus())
            .append("riskLevlel", getRiskLevlel())
            .toString();
    }
}
